
class ActSubject(object):
    def __init__(self, sArgSubject, sTime):
        self.sArgSubject = sArgSubject;
        self.sTime = sTime;
        self.aStates = [];
    
    def getStates(self, sTime, aActs_Time):
        aSt = [];
        #Get All States that belong to this Subject (in this time step "t")
        for actM in aActs_Time[(self.sArgSubject,sTime)]:
            for sArg in actM.rootAct.aSubjects:
                if sArg==self.sArgSubject:
                    aSt.append(actM);
        self.aStates = aSt;